package pro.huadi.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import pro.huadi.pojo.User;

@Mapper
@Repository
public interface UserMapper {
    void add(User user);

    //根据账号查询用户
    User query(User user);


}
